﻿using System;

class Pikeman : Unit
{
    public Pikeman(string ownerinput, int amountinput)
    {
        amount = amountinput;
        owner = ownerinput;
        hp = 30;
        att = 10;
        def = 20;
        name = "P";
        range = 1;
        movement = 2;
        curHP = hp * amount;
        if (owner == "P1")
        {
            currentX = 1;
            currentY = 9;
        }
        else
        {
            currentX = 15;
            currentY = 9;
        }
    }
}
